package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "subject")
public class Subject implements Serializable {
    private ObjectId id;

    private String questionId;      //试题编号
    private Integer star;       //星别
    private String question;    //题目
    private String titleId;     //小题编号
    private List<?> options;    //选项
}
